package com.yichen.rent.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="house_resource")
public class Resource implements Serializable{

	@Id
	private String id;//编号

	private String province;//房源所在省份
	private String city;//房源所在城市
	private String county;//房源所在县镇
	private String rent_way;//租房方式
	private String rent;//租金
	private String orientation;//房屋朝向
	private String type;//房屋类型
	private String bailor;//委托人
	private String bailor_time;//委托时间
	private String square;//房屋面积
	private String floor;//房屋所在楼层
	private String elevator;//电梯
	private String carport;//车位
	private String water;//用水
	private String electricity;//用电
	private String gas;//燃气
	private String heater;//取暖
	private String tenancy;//租期
	private String status;//房屋状态
	private String inquiries;//咨询量
	private String look_for;//看房量
	private String house_title;//房源标题
	private Integer num;//
	private String create_time;//
	private String update_time;//
	private String image;
	private String address;

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}
	public void setCounty(String county) {
		this.county = county;
	}

	public String getRent_way() {
		return rent_way;
	}
	public void setRent_way(String rent_way) {
		this.rent_way = rent_way;
	}

	public String getRent() {
		return rent;
	}
	public void setRent(String rent) {
		this.rent = rent;
	}

	public String getOrientation() {
		return orientation;
	}
	public void setOrientation(String orientation) {
		this.orientation = orientation;
	}

	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public String getBailor() {
		return bailor;
	}
	public void setBailor(String bailor) {
		this.bailor = bailor;
	}

	public String getBailor_time() {
		return bailor_time;
	}
	public void setBailor_time(String bailor_time) {
		this.bailor_time = bailor_time;
	}

	public String getSquare() {
		return square;
	}
	public void setSquare(String square) {
		this.square = square;
	}

	public String getFloor() {
		return floor;
	}
	public void setFloor(String floor) {
		this.floor = floor;
	}

	public String getElevator() {
		return elevator;
	}
	public void setElevator(String elevator) {
		this.elevator = elevator;
	}

	public String getCarport() {
		return carport;
	}
	public void setCarport(String carport) {
		this.carport = carport;
	}

	public String getWater() {
		return water;
	}
	public void setWater(String water) {
		this.water = water;
	}

	public String getElectricity() {
		return electricity;
	}
	public void setElectricity(String electricity) {
		this.electricity = electricity;
	}

	public String getGas() {
		return gas;
	}
	public void setGas(String gas) {
		this.gas = gas;
	}

	public String getHeater() {
		return heater;
	}
	public void setHeater(String heater) {
		this.heater = heater;
	}

	public String getTenancy() {
		return tenancy;
	}
	public void setTenancy(String tenancy) {
		this.tenancy = tenancy;
	}

	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public String getInquiries() {
		return inquiries;
	}
	public void setInquiries(String inquiries) {
		this.inquiries = inquiries;
	}

	public String getLook_for() {
		return look_for;
	}
	public void setLook_for(String look_for) {
		this.look_for = look_for;
	}

	public String getHouse_title() {
		return house_title;
	}
	public void setHouse_title(String house_title) {
		this.house_title = house_title;
	}

	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}

	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public String getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}


	
}
